package com.mooc.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course implements Serializable {
    private static final long serialVersionUID = -11935233225163457L;

    /**
     *   `id` int(11) NOT NULL COMMENT '课程id',
     *   `course_name` varchar(20) NOT NULL COMMENT '课程名称',
     *   `course_pic` varchar(255) DEFAULT NULL COMMENT '课程图片',
     *   `course_status` int(4) DEFAULT NULL COMMENT '课程状态，1 上线  2 下线',
     *   `course_description` varchar(30) DEFAULT NULL COMMENT '课程描述',
     *   `teach_id` int(4) NOT NULL COMMENT '课程讲师',
     *   `pay` double NOT NULL COMMENT '课程售价',
     *   `createtime` datetime DEFAULT NULL COMMENT '创建时间',
     *   `updatetime` datetime DEFAULT NULL COMMENT '更新时间',
     */

    private Integer courseId ;

    private String courseName ;

    private String coursePic ;

    private String courseStatue ;

    private String courseDescription ;

    private String courseTeach ;

    private Double pay;

    private Date createtime;

    private Date updatetime;

    private String users;


}
